package io.renren.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-20 12:55:41
 */
@TableName("tb_feedback")
public class FeedbackEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private FeedbackEntity replyContent;

    /**
     *
     */
    @TableId
    private Integer id;
    /**
     * 评论人ID
     */
    private String userId;

    private int peakId;



    /**
     * 项目ID
     */
    private Integer campaignId;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 是否删除
     */
    private Integer isDel;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 设置：
     */
    public void setId(Integer id) {
        this.id = id;
    }
    /**
     * 获取：
     */
    public Integer getId() {
        return id;
    }
    /**
     * 设置：评论人ID
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }
    /**
     * 获取：评论人ID
     */
    public String getUserId() {
        return userId;
    }
    /**
     * 设置：项目ID
     */
    public void setCampaignId(Integer campaignId) {
        this.campaignId = campaignId;
    }
    /**
     * 获取：项目ID
     */
    public Integer getCampaignId() {
        return campaignId;
    }
    /**
     * 设置：评论内容
     */
    public void setContent(String content) {
        this.content = content;
    }
    /**
     * 获取：评论内容
     */
    public String getContent() {
        return content;
    }
    /**
     * 设置：是否删除
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
    /**
     * 获取：是否删除
     */
    public Integer getIsDel() {
        return isDel;
    }
    /**
     * 设置：创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    /**
     * 获取：创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }



    public FeedbackEntity getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(FeedbackEntity replyContent) {
        this.replyContent = replyContent;
    }

    public int getPeakId() {
        return peakId;
    }

    public void setPeakId(int peakId) {
        this.peakId = peakId;
    }
}
